﻿using System.Text.Json.Serialization;

namespace DimensionsHelper.ExcelAddIn.Core.Sql;

/// <summary>
/// SQL脚本生成器的字段类型
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<FieldKinds>))]
public enum FieldKinds
{
    /// <summary>
    /// 分类类型
    /// </summary>
    [JsonStringEnumMemberName("CATEGORICAL")]
    Categorical,

    /// <summary>
    /// 数值类型
    /// </summary>
    [JsonStringEnumMemberName("NUMBER")]
    Number,

    /// <summary>
    /// 文本类型
    /// </summary>
    [JsonStringEnumMemberName("TEXT")]
    Text,
}
